home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20020314-20021006
/
000014_casimir@roar.com_Thu Apr 4 09:50:52 EST 2002.msg
< prev
next >
Wrap
Text File
|
2002-10-06
|
1KB
|
40 lines
Article: 13284 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: casimir@roar.com (ALB)
Newsgroups: comp.protocols.kermit.misc
Subject: kermit scripts, full-duplex
Date: 4 Apr 2002 03:27:12 -0800
Organization: http://groups.google.com/
Lines: 22
Message-ID: <a228ca9f.0204040327.edef2d6@posting.google.com>
NNTP-Posting-Host: 141.11.234.61
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1017919632 26479 127.0.0.1 (4 Apr 2002 11:27:12 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 4 Apr 2002 11:27:12 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13284
Hello,
Is it possible to write a basic kermit script to perform full-duplex
transfer ?
The aim is to perform modem tests, without any protocols. Basically,
send and receive the "check fox" string in loop, and verify
automatically that no character are lost. The constraint is to be
really full-duplex, and not
sequentially send or receive.
it would be something like that:
wait_connection()
while (true){
how_many_bytes_can_I_send(&nb_bytes_tx)
send_fox_string(nb_bytes_tx)
get_number_of_bytes_received(&nb_bytes_rx)
read_bytes(buff_p, nb_bytes_rx)
check_fox_string(buff_p, nb_bytes)
}
Thanks